import { createApp } from 'vue'
import './style.css'
import App from './App.vue'
import router from "./router";
// @ts-ignore
import { createPinia } from 'pinia';
// @ts-ignore
import piniaPluginPersist from 'pinia-plugin-persist';

// 创建
const pinia = createPinia();
pinia.use(piniaPluginPersist);

createApp(App)
    .use(router)
    .use(pinia)
    .mount('#app')
